package com.example.service.impl;



import com.example.dao.ISysRoleDao;
import com.example.dao.impl.SysRoleDaoImpl;
import com.example.entity.SysRole;
import com.example.service.ISysRoleService;

import java.util.List;


public class SysRoleServiceImpl implements ISysRoleService {
	
	private ISysRoleDao roleDao = new SysRoleDaoImpl();

	@Override
	public List<SysRole> getAll() {
		return this.roleDao.getAll();
	}

	@Override
	public SysRole get(String id) {
		return this.roleDao.get(Integer.valueOf(id));
	}



}
